SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '511218da5654eee6cbbe2bb24f26316069f771ebb74f59cee70cfb4231e1f2e0' 
  AND token = 'uH86zfy5QytLub3PJwGZkeI/6JWzI2Gfz/74h/50t9g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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