SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '792dc0127d7d3909db6b3d159e5e8b840213c8c57f80e8189737e636642cd866' 
  AND token = '8tjFs4GtnyrHQmj8tsUZv4jnXug18PobI4iWF07voAs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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