SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c12ca4b60082377a87484a218c17d17afd07d2dd0baca0b60f7ebe88346ee19d' 
  AND token = 'tEJXD/VaL5DH/JyCx2DKMPZHgyNtPUnZ8UmR545+tqs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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