SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3db832add284377e11548ea80d2739c624f94585b4f0cc7c58ec4eac64eca4c5' 
  AND token = '5DXeDxN+X9m4q0Ymb3iE9kO6Q1cc26114REygizV9dk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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