SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9f5aaa45781663ec7ec5efa7b48faba4dd970bcfcf954361eabddcd33b46d3f' 
  AND token = '7ZMKoP6Tyd813JvLqc9ORaPRsIpL0J+Kj0zKUUMzYCs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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