SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ddcc2fd021cf3e98f2f303f10916c2fece23b0edb8da036bb738af16f54ef5a' 
  AND token = '8LYHaxZJUmN0Vq8Fm5jIZnm9bM69zii0WeL8YDatZ2Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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