SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf505a613ded044694c0ef22119be650230f4219479bf86cd1b004d8b4aa65eb' 
  AND token = 'wPZLusofzunXKBS2fLzspmOowL8wyxiKlXbnilvoIhs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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