SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd81ce28b998790f28eac870a70fb5ccf0259a15d4e55c6f86b329f49f8da61c0' 
  AND token = 'T7rGhJnLGmfOJzdGmbdnpQxKgwTyBh5Sbe0t+h5bi6k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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