SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4184b1fe71116bf4b9348cae1af1012c968905c17ee92940c1ce55d9d35f5c9a' 
  AND token = 'LxYZPBrXmBkNu9Xx2cYJYVbSq2GPdPR8xnQLsU5Bmt0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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