SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7fc722024bb17a9e58d3fa57590962fc3021a1359e2e3cd64fd1a5d317ca2ffd' 
  AND token = 'ptpVuKLN80+F0YiPmpqEP/HA62FT71RQtplrM3uaem4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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