SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0837b63db7b7ab2d5725518891d4c04327171399f079fed3cf752aca7d5bb296' 
  AND token = 'cCb/+qGOXN378Tfe9f5Nw8/jNiSDH+mLLfof5EuwruQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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