SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f215ced184f43bc05b60b91417652a26a6ef0547c4447b9a0807dc9183f7830f' 
  AND token = '7Xb5B1FF5i8yM7EpVNQ6T5YPTHkbhJaLE/zxXnAGLcw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.01014

JSON explain

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