SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2ff08cdd13a71262ba6f2d0cd1b355776433a2c008ef20e8bb2052500b67aac' 
  AND token = 'l40e76c3FO5GHGNb2k+wTqjYneyuPTrYpD099U2Gf7A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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