SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a7ee66d6364704cdb3a00debfda586a28e2b6e622c98a63bebfbe5eb6348dd5' 
  AND token = 'wJL5PLK2AsPMOnE1W365rqCfM4Ebsk+V0yRM88YkXAs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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