SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef7d61ad0233967289dc2daa3db3fcef53ef2ab46240f226980a167aff19f8e4' 
  AND token = 'ueRm6wFCUmSrdzp9Bx8AoB91FyX8doBpzZniZDJo27M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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