SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '539dc048385f244ab0d3154f4555fcb10c7897dcc62f92d330133f160ce9bf6d' 
  AND token = '5INVH788z1uubWKSX/jV2olgWao1HMg7I5oA2DxHJF0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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