SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6e17cc114f51b12b4e7544814f098298978bbbca29f4380e3b00e41e51d39e89' 
  AND token = 'QGm64LEwdQYvGoJiAGZjDGIrXK07J8B0oxoS6QBUqh0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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