SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f476f315503b460ca0a44f3f4a3856ab071f33bde9427b5b77547e32f5ee9fdb' 
  AND token = 'mi2GvlyDgPFs7D5ZspTeALQpKOoQk1o0v7TKQbnO8bs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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