SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a338b4188cd06bed40f123dbf2755dc4d186ead513004507586ca72790d8e97' 
  AND token = 'erQKJoD+wZ2rkmDJ0d0JuFm4FhZtWulIHsuv+G5s5g4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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