SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7dd1bc08271fc879922abfaeed9e618a68eb3d23c16073b229ff4bcc78b1283a' 
  AND token = 'bHC5oN3/barEGJPMTdT6bgJtcFqe21CVcb6fc8eTe/I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}