SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'def778ef2970eae6b8787897405f0be7797fc60a154a483960d248b3bccd9c3a' 
  AND token = 'hQuu5Iih4s8AEEhUlVbFv6W4fToHjzS+hGJbpfnTsj8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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