SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1159dafc145d07a217678036d8c13f5fa991e74278df808018893fe804b7379d' 
  AND token = 'ZBB+zHMSutvizqG/RNqIDIngqJ9IIFnD2mqxTL16Xhk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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