SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '66502e7f4c5d7e8074add6630f2d55f820b37b98ed8f1e5e3689f070278e7cde' 
  AND token = 'Up1RXVnAVsOmILa84L/UXvbves6HEaS73uORTotGo38=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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