SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1ceb9f1d30006c572e48230b6186fa7d2525385c238242cdaefc547e5d91e77' 
  AND token = 'qBbuL8ePs/2wx09iMJeTsvErOQ7K8q9AJrLi/BP6Qlw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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