SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '08ec34ab75b86c707c3a6f6350e972bf6b49c161b5c6135d6541e226da90ca8f' 
  AND token = 'UGssg4jgqgkVaD74hK9NrMKYDiER5KNSxd5DrT0B8so=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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