SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd590c2062c7179c5b12fa52e94b1781b5447e3c8a509c5067fb84b86cb10461b' 
  AND token = 'xI8qNuRMd81AQS2TrMxGNoQ97g8R+0YUAaTxz9MNev4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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