SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd97ea7bd6f91620fc9c5ea11e01656cf97de43d9da48d4dce0b5047947499df0' 
  AND token = 'aLsNNxVk0zMhOpJ+AZEaDd8SZCl212Ib3TLx3yii5g4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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