SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '504878118a50e776c363412229497c216bb28b052bf72ca4c54e5973d0a81168' 
  AND token = 'w7RjOqjDcJ215GjrF1oU6zd+CHskORyQXV2VK7Yg0g4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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