SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '571bf4dfd1be6b514de9eb727110a1fbcb12da62c3f494c14eb7a4c6ba938ba3' 
  AND token = 'p51q6ClSC3hMz/Amsq63+u/vgji72qITb3Js9i765b0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}